Skip to content

Reject handle types in 'map' value type - #756

Merged
lukewagner merged 1 commit into
mainfrom
restrict-map
Oct 27, 2026
Merged

lukewagner merged 1 commit into
mainfrom
restrict-map

Conversation

@lukewagner

Copy link
Copy Markdown
Member

As proposed in #751

github-actions Bot pushed a commit to SavantEnvs/wasm-tools that referenced this pull request Oct 24, 2026
This implements the validation rule proposed in
WebAssembly/component-model#756: a `map`'s value type can't transitively
contain an `own`, `borrow`, `future`, `stream` or `error-context`.
@lukewagner
lukewagner merged commit 8505ba7 into main Oct 27, 2026
2 checks passed
@lukewagner
lukewagner deleted the restrict-map branch October 27, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants